package com.ruoyi.basedata.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 供应商对象 t_bd_supplier
 * 
 * @author ptt
 * @date 2023-02-15
 */
public class BdSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 供应商编码 */
    @Excel(name = "供应商编码")
    private String suppliernumber;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String suppliername;

    /** 基本分类编码 */
    @Excel(name = "基本分类编码")
    private String groupnumber;

    /** 基本分类名称 */
    @Excel(name = "基本分类名称")
    private String groupname;

    /** 是否内部供应商 */
    @Excel(name = "是否内部供应商")
    private Long isinternal;

    /** 内部公司编码 */
    @Excel(name = "内部公司编码")
    private String internalcompanynumber;

    /** 内部公司名称 */
    @Excel(name = "内部公司名称")
    private String internalcompanyname;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Date createtime;

    /** 最后修改时间 */
    @Excel(name = "最后修改时间")
    private Date updatetime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSuppliernumber(String suppliernumber) 
    {
        this.suppliernumber = suppliernumber;
    }

    public String getSuppliernumber() 
    {
        return suppliernumber;
    }
    public void setSuppliername(String suppliername) 
    {
        this.suppliername = suppliername;
    }

    public String getSuppliername() 
    {
        return suppliername;
    }
    public void setGroupnumber(String groupnumber) 
    {
        this.groupnumber = groupnumber;
    }

    public String getGroupnumber() 
    {
        return groupnumber;
    }
    public void setGroupname(String groupname) 
    {
        this.groupname = groupname;
    }

    public String getGroupname() 
    {
        return groupname;
    }
    public void setIsinternal(Long isinternal) 
    {
        this.isinternal = isinternal;
    }

    public Long getIsinternal() 
    {
        return isinternal;
    }
    public void setInternalcompanynumber(String internalcompanynumber) 
    {
        this.internalcompanynumber = internalcompanynumber;
    }

    public String getInternalcompanynumber() 
    {
        return internalcompanynumber;
    }
    public void setInternalcompanyname(String internalcompanyname) 
    {
        this.internalcompanyname = internalcompanyname;
    }

    public String getInternalcompanyname() 
    {
        return internalcompanyname;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("suppliernumber", getSuppliernumber())
            .append("suppliername", getSuppliername())
            .append("groupnumber", getGroupnumber())
            .append("groupname", getGroupname())
            .append("isinternal", getIsinternal())
            .append("internalcompanynumber", getInternalcompanynumber())
            .append("internalcompanyname", getInternalcompanyname())
            .append("createtime", getCreatetime())
            .append("updatetime", getUpdatetime())
            .toString();
    }
}
